package com.sumer.brain.sys.mapper;

import com.sumer.brain.sys.model.entity.GenTableColumn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface GenTableColumnMapper extends BaseMapper<GenTableColumn> {

    List<GenTableColumn> selectDbTableColumnsByName(String tableName);

    int insertGenTableColumn(GenTableColumn column);

    int deleteGenTableColumnsByTableIds(Long[] tableIds);

    List<GenTableColumn> selectGenTableColumnListByTableId(Long tableId);

    int updateGenTableColumn(GenTableColumn cenTableColumn);

    int deleteGenTableColumns(List<GenTableColumn> delColumns);
}




